****************************************************************************
**		Authors: 	Or Tuttnauer & Liran Harsgor
**		Purpose: 	Produce Table A3 in Kedar, Harsgor & Tuttnauer (JOP)  
**		input:		KHT_countrylevel.dta
*****************************************************************************

log using "table a3.log", replace

set more off

use "KHT_countrylevel.dta", clear

*** interaction terms
gen x1x2	=enpv * lnmeddm  	/* interaction lnmeddm and enpv*/
gen x1x3	=enpv * 			sr
gen x2x3	=		lnmeddm * 	sr
gen x1x2x3	=enpv * lnmeddm * 	sr

reg enps enpv lnmeddm sr x1x2 x1x3 x2x3 x1x2x3 smd mmm fused upper
outreg2 using table_a3.doc, replace dec(3)

log close

